import { createRouter, createWebHistory } from 'vue-router'

const routes = [
  {
    path: '/',
    name: 'todo',
    component: () => import(/* webpackChunkName: "todo" */ '../views/TodoList.vue')
  },
  {
    path: '/phone',
    name: 'phone',
    component: () => import(/* webpackChunkName: "phone" */ '../views/Phone.vue')
  },
  {
    path: '/computer',
    name: 'computer',
    component: () => import(/* webpackChunkName: "computer" */ '../views/Computer.vue')
  },
  {
    path: '/picture',
    name: 'picture',
    component: () => import(/* webpackChunkName: "picture" */ '../views/Picture.vue')
  },
  {
    path: '/weatherknow',
    name: 'weatherknow',
    component: () => import(/* webpackChunkName: "weatherknow" */ '../views/WeatherKnow.vue')
  },
  {
    path: '/sister',
    name: 'sister',
    component: () => import(/* webpackChunkName: "sister" */ '../views/Sister.vue')
  }
]

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes
})

export default router
